function login(){
  var account = $("#name").val();
  var pwd = $("#pwd").val();
  $.post(loginURL,{
    account:account,
    password:pwd
  },function(res){
    if(res.serviceResult){
        var str = JSON.stringify(res.resultParm.user);
        sessionStorage.user = str;
        location.href = "/vat/taxsystem/index.html";
      }
      else {
        alert(res.resultInfo);
      }
  });
}
